package cn.bs.busuo.front.account.dao.persist.repository;

import cn.bs.busuo.front.account.pojo.entity.GoodFavorite;
import cn.bs.busuo.front.account.pojo.entity.HotelFavorite;
import cn.bs.busuo.front.account.pojo.entity.SightFavorite;
import cn.bs.busuo.front.account.pojo.vo.FavoriteGoodVO;
import cn.bs.busuo.front.account.pojo.vo.FavoriteHotelVO;
import cn.bs.busuo.front.account.pojo.vo.FavoriteSightVO;

import java.util.List;

public interface IFavoriteRepository {
    int selectFavoriteHotelIfExits(Long hotelId, Long id);

    int addFavoriteHotel(HotelFavorite hotelFavorite);

    int deleteFavoriteHotel(Long hotelId, Long id);

    List<FavoriteHotelVO> selectFavoriteHotel(Long id);

    int selectFavoriteSightIfExits(Long sightId, Long id);

    int addFavoriteSight(SightFavorite sightFavorite);

    List<FavoriteSightVO> selectFavoriteSight(Long id);

    int deleteFavoriteSight(Long sightId, Long id);

    int selectFavoriteGoodIfExits(Long goodId, Long id);

    int addFavoriteGood(GoodFavorite goodFavorite);

    List<FavoriteGoodVO> selectFavoriteGood(Long id);

    int deleteFavoriteGood(Long goodId, Long id);

}
